<?php
require_once($_SERVER['DOCUMENT_ROOT'] . "/common/ImageOperation.php");
$action = isset($_REQUEST["action"]) ? $_REQUEST["action"] : "captcha";
$imageOperation = new ImageOperation();
switch ($action) {
    case "captcha":
        $imageOperation->createCaptchaCode();
        break;
}
?>